package com.seuic.scanner2d;

import com.seuic.scanner2d.pojo.BarcodeInfo;

public interface Scanner2DCallback {
	public boolean scanner2DOpen();
	public boolean scanner2DClose();
	public boolean scanner2DSetParameter(int paramId, int paramValue);
	public boolean scanner2DGetParameter(int paramId, int paramDefault);
	public boolean scanner2DGetDecode(BarcodeInfo barcodeInfo);
	public boolean scanner2DPromptSettings(int succeedTag);
	public boolean scanner2DEnable();
	public boolean scanner2DDisable();
	public boolean scanner2DTakePhoto(String photoPath);
	public boolean scanner2DStartVideo(byte[] imageBuffer);
	public boolean scanner2DStopVideo();
	public boolean scanner2DGetLastImage(byte[] imageBuffer, int imageSize);
	public boolean scanner2DError(String error);
}
